The if statement has been fixed