aref bug

hope this makes sense :)