the second commint, fixed several library problems