more compile error fixes