fixed problem with filling the database but the other still persists