Fix bug directory

Fix bug to not download a figure. Cause is, the program doesn't create a directory figure for copy all figure download.