fix weird duplicate issue