changes related to valid field of model location