fixed a bug in an if-statement in Morse 1