correct enum declaration
Merge pull request #4 from thanpolas/patch-2

correct enum declaration