bug in morphology script