Weir cors error reported