fix another unneeded if/else