fix ulimit and antiword bugs