fixed "Serialization of Closure not allowed"