clear error or out of use data from database