reduce the notice when debug