db upload fix