removes main object property