corrected the static_pages controller