fixed compile bug