small fix for making api communication possible