fixing some console output