handle hash attrs with blocks