change the code for linux