fix the "shark die" bug