fixed missing "afterEnd" and "close" call in fade method