evil clear() to holy resize(0)