fix crushing when a goal not having goal items