fixed linebreak concerns with if/else statements