fixed equal check messing up giff