trying to solve CORS problem 2