add db malfunction, avoid trouble in db