Correctly initialize the loading property on the mode