fixed A.one is not a function