fix little bug in automodapi
Merge pull request #715 from Cadair/documentation_sprint

fix little bug in automodapi