fixed compilation errors in gamemap