removed debug rule and set to handle all http codes not just 404