Fixed bug with hoiiosms