fixes issue with results (values) not getting materialized properly