Fix dict initialization