fixed working with hashes within the provider