Added null guard. (tentative)

A type of TargetAreaInfo.size should be set as Option.
To avoid zero divide error tentatively, I added this code.
The related lines should be changed after the conlusion how to solve is gotten.