Fix setting for allow origin issue