Remove useless sed inplace replace