fix public method