Fixed nullPointer
Merge branch 'fix-TwoOpt' into develop