disable public & in api