fix small stupid error in api