remove log stmt