Apparently the label 'warnings' was already taken (I think it shouldn't be but I'm not going to try to track it down right now).
Fix incorrect object reference