Fix setting modes which were already set