changes to the template attributes - bug