fixed some stuff with modes