[BUGFIX] Fix erros in ApiBaseClass