fixed the error "cannot find function new"