file extension bug fixed