fix bug wrong sed arguments