ie fix so console dont break code