FIX a bug when casting DAO to a specific DAO, do not transfer the
hasmap, make a copy of the Hashmap value instead