Fixed unknown object errors