corrected contact page error handling