resolve conversion warning