Workaround in pageTitle() method against losing of directory parameter/attribute