* Calling onfinish in all cases