solve crash issues