fixed linux issues