- fix bug when parsing 'remote' attributes

Change-Id: I992190fe40439e1e2dd0cd4a7b840c2873a178d2