bug with contextPath fixed + bug in date format print resolved