important smartmax fixes