allow all resources for fixing image bug