fixing namespace errors #137 adding a missing library #147 fixing a library import #131