autoconfig, and fixes