fixed inner enum name resolution issue