fixed minor if bug