bugfix for org-mode reftex integration