FIX: misprint in encountes states factory