fixed minor things
Runs smoothly