Stable sed fix

#439 fix