use sed properly.