fixed rescue exception syntax in static_pages controller