sunlight api fix