fixed ambiguous bool return value in extractMapData()