fixed bugs on my servlets