fixed small bug with contextPath