fix dupicity name of variable rdd_lock