fixed object attributes bug in ZCpu and another minor problem