message procedures fix