BUG: remove duplicate key