changed the way to store object header