fixing path for db