remove library type