fixed "Notice: Undefined index: page" bug with WP 3.6.1