small error fixes