don't add export attr if nothing to export with @public, fix @public matching