fix register topic schema and config variables for Topic