fix resetall when uploads directory is not present