Getting rid of cannot unpack war error