fixed infinite loop from servlet pattern matchinf