Modified logic to make value prior to miniMode

Modified logic to make value  prior to miniMode