Fixed console initialization