make sure we don't blow up in the applescript