fixes all API