clean some if