fixed error messaging in RLObject