fix authorized spaces