changed src to template. need to fix a bug in helpers