remove key&len vars.