training works but result off and crash