fix "ReferenceError: agrs is not defined"