fixed more OS issues