Fixed a if