cleanup of frame layouts