redistribute keys before add
minor fixes