remove = and set splice for tokens array