fixed remote angular bug