fixes for console