freeze console and warning messages