fix subr_eq and subr_fn