fix linux issues