Since the code cannot know when you are holding the modules, that would imply its not a code problem.