fix bug in auto-compile config