Fix "autofly" flag