HOTFIX: adds lock in dictionary addValue