fix file name extesion error some times