remove empty perspectives