Sort of fixes route issues in PHP