cleanup view helper