Fixed bug on monitor.php