fixing template path in provider