formatting cleaning servlets