clean unavailable database