adapt to RIOT changes