solve a bug or selection