change path to open a fig