fix to use custom domain