Fix for issue #76, mod failing.