Solved some Linux issues