read double, pd externals fixes