fix missing sidebar template by using bookshelf