correct mistake, message array must be 0 based