fixing file name bug