add scaffold Message but many bugs