fix nullpointer + avoid failure on talks definition due to concurrent update