setpath error checking, see issue #33