check error type when repeating thumbnail creation and error name fix