fixes #6498 simplified eval statement