replacing deprecated get() calls. closes #289