fix jotx and add resourse.php