change from number in messages table to string from int