Fixed restingStateLoading for short dataype