fix issue in template jsps