refactor org-babel mode