HCOLL-167 fixed key set by added a compact method