fix bugs in broadcast large closure of RDD