fix symbol visibility problems