fixed unpack bug for single models