fix for handling other incoming vars (Thnx Bruce <itsbruce@uklinux.net>)