public api fix