removes stub databases