Fix wrong template used