[michael] Removed some debugging code causing the code to freeze