legend and glyphicon fix for books