forgot to use path varaible for the database path