made temp fix for seg fault on some machines