fix bag registration4