possible bad if statement