Fixing bug on retriving catched values and default memory value