fixed soem stuff