fixed extra bug -- hos json not always the same