fixed issue where library was inluded at the bottom of every page