rm useless resource