fixed whitespace error on tomcat