"next error" seems buggy