replacing deprecated get() calls found while working on #226