warnings--;
fix headless linkage