handle void type to prevent failure