remove empty lines in lines 306 - 316