fs: fixed some crash