FIX problem with set resolution and new data structure #60