fix for spending number wrong