Remove useless resource