Fix error caused by Cross Domain Request