bug fix : set default directory of reused buffer
remove eval-when-compile