minor api fix