Fixed affsd's bugs
Merge pull request #27 from mueslo/master

Fixed affsd's bugs