fix the configure problem