fixing if having =