template path now works