fixed bug in lens