add scheme apply, rename apply-> apply_env.