error if signature has trailing bytes