fixed clear line issue