remove logging stmt