bug fix in call.php