Fixed same 'no method []' error.