cors issue resolved