Fixed logging but when pass2 was created directly from pass1