finalise for mac