try to prevent ssl error