check for topic lock in the correct place