Fix state attributes in motion pdf.