fix object reference