v1.3.2 fix bug where LAST_FILE not correct value