fix public attr