fix register-coder