Fix allowed type