get rid of if