debugged bg issue