remove resources block