changed KEY_DEVNULL_LASTID to something more unique ;)