Updated: catch error when eval period