Fixing the rbf