Doh, double fixed issue with console undef protection