Put errback and callback in the right order so that the errback actually works