Removed old $page var
fixed shortcode php error