Fixed the concurrent issue

ConcurrentHashMap did the trick. Still have to fix the weird reverting
temperature