Cors issue fixed