fix Undefined offset in lib/internalmessages.php#70