fixed console which may be opened even if it wasn't enable