allowed_to? fix