removing rest library