Fix bug with wrong parameters for the library view