fixed compile errors (again)