fix bug in other templates