Fix setting storage mode