Fixed halting error

forgot i was in the middle of writing code