fixed documentation in aPi