remove warning.
make main scheme a shared scheme.