removing duplicate chunks