check map entry before synchronization