fixed compile err