fix a small bug: when attach to a differnt div block, jcurses is now able to load cb functions again