add a check to parseSliceHeaderSyntaxes
Merge pull request #355 from licaiguo/check-sliceheader

add a check to parseSliceHeaderSyntaxes