Before running an expression, clearing its associated warnings
Merge pull request #1292 from ke-yu/fix_spurious_error

Before running an expression, clearing its associated warnings