replaced function get_hashedkey_from_partition by get_partition to solve dialyzer issues