adjust message length after alignment