remove automatic layout detection