fix val obj size macro