add fb support , and wait debug