fixed empty line issue