last problem solved but CORS error