summary issue got resolved.
nil value issue got resolved