clear() fix