suppport GET enum for ajax