Fixed problem with MapBound type