Fixing cors calls