convert back to original templates