release memory for floor plan and data view controller