added sid's logic in open msg. now able to parse flags in common object header