fixed builtins.type and SF.GetType