fixed range, changed assert into wxLogSTatus