error fixes

fixing errors