scanner enum fixed