last simulation parameters and fixes in lib