selected ids from hash