remove space in if else