fixing incorrect config call