tidy fail handling
Merge branch 'dev'