fixes for getWrap()

see #194