importMessages, simple validation