Small bug in SOA.
Merge pull request #35 from phicoh/john-changes

Small bug in SOA.