fixing if