fix error on Repository -> storeObject