Line 402 reads airmon-ng stop $mon_ap &>/dev/null but $mon_ap does work, as it should be $monap airmon-ng stop $monap &>/dev/null Nothing major, it's just if u make a mistake and loop round the monitor interface stays up.