stopped it throwing null pointer if no goal route