add id to the wrapper