fixing bug for doing cb() for multiple loads