improved compiling object key