getResult does not return success result, fix it