fix error

fix the click "tempfile" folder unexpectedly exit error.