cut string fix