refactor nas views da library.