Fixed empty lines in functions