Fix a small bug about enumaration type: it should be able to recorgnize access patter...