Enum troubles


Signed-off-by: saforer <saforer@gmail.com>