fixed issue with action wrapping do to closure failure.