attempt to fix framebar overflow bug