added wrap id to 400 error page