Fixed a bug in getLensData