Fixing staff block data loop bug