format correction and fetch message head only