Clean up loan template