removing the ResultVariable hack