remove extra "::k"

See #5619 .