only alter the mode on production is needed
only alter the mode on production is needed