bug fixe for linux