clean the code, remove useless <import> statements