fix bag collback func