fix "Template Not Found" error