master [fixing API bug]