fix soem stuff