Fixed database template path