Fixed the exception problem caused by the evil shark