Corrects jsp problems