error notice in fm.php