fix isRaining
fix for duplicate key exceptions