fixes to sim