fix but in api