reset mesage and message array, removed prints