cleaning up portal