Adding rescue blocks for get and clear