fix flattening the stabi panel