fixed empty line in the middle issue