Fix missing enter state lines