minor utils changes to correct 500s