fixed a number of bugs in FrameCluster