*Fixed 500 Issue while getting collection