fixed spaces/csw policies . funtion fixed for spaces