recode

Change if then to try to catch error