remove unnecessary dict boxing