deal with filename size 0