Fixed a bug with a class name that contains 'Page'