Error in Unique from reading