fixed sed issue