Bug solved when loading model file.