bug fixed for contraction in wick