fix clumsy if statement