int warning for slice and no print