fixed the problem(escaped tags <%-%>) with the templates
added multiple delete
test...