change templates order