adding error log
Fixing reading after sub scenario