fixed after.defaultPrevented profile plus  small tweaks