cleaner page init functions