bug flash on info - endless loop

this change breaks the endless loop in case of info==nil (bug flash on info)
issue #413