better solution to id "conflic"