- api page first import
-remove some useless code