fix errors that may occur because of a wrong port

Change-Id: I54e85d42c44763b84f6746921dc573b62fc09ce6