fixed documentation on $wrap