remove PACKING flag (not used any more)
use symbolic error codes for message success