correcting messages error