fix bag registration3