more fix in the template input