remove empty line between if and else sections