adjusted container format check and error messages in UnpackAction