Trying to fix the fact that database info only loads every other time