remove console warns