fix file extension issue