fix built-in funcs hoisting when redefined early