fixed port and removed old library