fixing removing previous bases