path expression for uart added

instead of os_kill when on an invalid path, I use return to refuse
execution.