some bugs for create_blank_direntry