fix potential crashes