tries to fix cors issues