Fixed a bug in samoa.h