refactor fixture templates