clean up the template slush layout