other error fixes