fixed lingering extension bug with curFileName var