Stupid API mistake