fixed dict lookup