fix for console injection