removed and refactor
set width and height for book