Fixed issue for mark completion on OS X.