remove some console warnings