bug fix where data wasnt being passed back on success