fixed formatting on multiple templates