fix bugs in fs

Signed-off-by: tengattack <tengattack@foxmail.com>