fixed a bug caused by recent refactoring.
fixed a bug caused by recent refactoring.

FiviumAustralia/OpenEyes,FiviumAustralia/OpenEyes,FiviumAustralia/OpenEyes,FiviumAustralia/OpenEyes,FiviumAustralia/OpenEyes