Fix access to dictionary