check for eval before getting origin, fixes #9