remove lib and config data