return from clear if isEmpty