Fixed API not working