same file name bug fixed