bug fix on api specification