bug fix for cap symlink paths