Fixed dictionary problem

- fixed bug in wor lookup introduced in last update