for-in bug fix