fixed result formatting error.