fix previous errors