fix array access to lazy values, exceptions clean-up