fix error: first argument must be a string or Buffer