fixed config problems