fixing problem with jdbcTemplate