Avoid php error due to Page::path