Fixed sdk errors