updated libs and solved some old issues