fixed issue with unknown commands still looping