fix missing synchronized