Fixed multiple bugs with console output