clearing up UI