modify to clean up symbols to be exported
slight fix