frame rate limit script not found

Hi guys ! I create this script to limit my frame rate at 50 FPS

using UnityEngine;
using System.Collections;

public class FrameRateScript : MonoBehaviour {

// Use this for initialization
void Awake () 
{
	QualitySettings.vSyncCount = 0;  // VSync must be disabled
	Application.targetFrameRate = 50;	
}

}

I attached this on my camera, but, when i play my game, in the stats i can see the FPS at 70, and my phone overheats, what are the problem ? Thank you guys !

I quickly tried this myself and it works fine, the fps counter may say 70 fps, it did the same for me, i loaded up a game quickly at 15 fps and it said 40 fps for me, Try putting also the script in start and not awake. Also assuming your making a game for the phone try limiting the fps to 30 as this is the standard fps limit for mobile games