protect against division by zero on systems with no swap