fix script vaidtion of mobile