bug fix: wrong undefined message