diff --git a/fmapp2/src/com/caf/fmradio/FMRadioService.java b/fmapp2/src/com/caf/fmradio/FMRadioService.java
index b1d7216..774f74f 100644
--- a/fmapp2/src/com/caf/fmradio/FMRadioService.java
+++ b/fmapp2/src/com/caf/fmradio/FMRadioService.java
@@ -158,7 +158,6 @@
    private boolean mA2dpDisconnected = false;
    private boolean mA2dpConnected = false;
 
-   private boolean mFmStats = false;
    //Install the death receipient
    private IBinder.DeathRecipient mDeathRecipient;
    private FMDeathRecipient mFMdr;
@@ -2315,9 +2314,6 @@
                 /* reset SSR flag */
            mIsSSRInProgressFromActivity = false;
          }
-
-         if (mReceiver != null)
-            mFmStats = mReceiver.getFmStatsProp();
       }
       return(bStatus);
    }
@@ -3780,7 +3776,10 @@
    }
 
    boolean getFmStatsProp() {
-          return mFmStats;
+          if(mReceiver != null)
+             return mReceiver.getFmStatsProp();
+          else
+             return false;
    }
 
    private void setAlarmSleepExpired (long duration) {
