fix register slot