Fixed #4 turns out it was a problem with the debugging