fix for eval

Fixes #371