initialize variables to clear PHP error notice
fix php error with using constant page; use 'page'
remove completed TODO