fixed bug, extended api