some corrections on libmss