fixed user and type collection callback problem