fix some potential issues in map eval
implement glGetMapiv