adding hash check before returning generated settings for multi thread