beautify registration port test