[spec fix] added flashes check and esnure find name in index table