auto complete lib and tweaks