fix on api