scope bugs