remove log and fix lint issue