fixed bug with CM ids displayed twice in keys