bug fix & example update