more mate stuff and spplus conf detection algorit