workaround to avoid StaleObjectError