a method for controlling a cooling system configured to cool a compartment is provided . the method includes receiving a temperature of the compartment from a temperature sensor , adjusting the received temperature to obtain a corrected temperature , and controlling the cooling system based on the corrected temperature