Fix duplicated identifier crash