fix add method