Fixed tab key duplicating last tag