fixed anonimous enum warning