Fix one error message.

About invalid type for the '[]' operation.