moved separator in hash sum checking function