fixed remove .. libraries a little buggy.