fixing map.php