format code style. update topology init function