bugs fixed ,api changed