fix public method.