fixed RBF error