added NameError to try_block so that it works for calls on self
added NameError to try_block so that it works for calls on self

aina1205/virtualliverf1,aina1205/virtualliverf1,aina1205/virtualliverf1,aina1205/virtualliverf1