fix evaluation_pattern bug in subr_fn