take out useless log