Fix an return value error.