fixed compile failure