trying to fix old errors