fix a couple of nasl bugs