Fixed clearErrors bug
Merge branch 'master' into gh-pages