remove no-side-effect statement