mpit: fix behavior when returning strings