debug for condtional symlink