cleaning up portal views