fix to path for db path lookup