better restrictions on spaces