fixed removing files if expanded 'only' was empty.