Fixed the default result type