fixing ytapi loading