fix some bugs
simulation starts but will crash your pc