trying to make cors works in ei