incorrect way of setting the mode for modifier