fixed object errors