Fix callback err position