fix bug after model move