remove useless resources..