Fixed bug

fixed bug that crashed on MC prompt