fix some dialyzer errors

Change-Id: Idd1d490ec0b33b8b1c80909944afd854ab9dfb0b