Made it run again

Fixed few mistakes