Fix bug "Class 'PageStyle' not found"