remove undefined logging