tiny fix

wrong if - else