Fix callback on upload action