proper error first callbacks, closes #19