fixed minor enum bug
fixed minor enum bug