change key from fd to uid, fix bugs
del print