resolve configure errors