Removing duplicate modules