Fix little crash for pub console