close srp vulnerability and report error in webapp