object variable fix