fix layout data