FIX template path loading error