fixed some upload callbacks