Fix illegal argument exception

Change-Id: I36eaaa2bd0677a11efb291861627706389913c0e