remove swp from lib