fixes template specs