fixed local parent -> remote parent bug