fixed halos on Linux