Fixed the api kinda not really.