Block variable access bug fixed