fixed crash bug, still got a forge bug(i might make a pr to fix it