fix to pc crash