Attempt to fix enum case error