wrong reading for optional