bugfix: select and rank methods; normalize the interface