Fixing type error for target.

Change-Id: I447dce9ebced4f23bf144e33dd15082b43bf9fed