match api change with OpenDeck lib, formatting