more compiler error fixes