small modifications preparing wordpress export