fixed an error in the template not linking correctly