fixed compile errors...