Updated duplicates case
updated the output when proj list = null