query to local model path - fix