remove console warning