Fix for change haik_pages schema <3

Modify pagename -> name around at DB accesses.