fixed something on messaging in textapi.php