comment editing, if/else bug