changing dict load to sync
fixing dict loading I think