FIX: error: 'unicode' object has no attribute 'fin'.