roughly finish all function. need to be more debug in qa env.
finished debug, waiting for online integration testing