modify cors solution