fixing error, wrong template method param.