fixes objects method