fixed bug with inputs
fixed template