fix for cd [3/19]
fpurge and minor tweaks