Remove useless resource vector.