simple way to get TOPDIR