revert weather segment
fix condition