fixed more compiler errors