some cleanup on console