a cleanup in views