minor changes to profileServlet