fixed some configuration issues.