fix allowed states