fix band/register on error