fix resourse.php