Fix some crash exploit