fixing dataextrasel bug and removing wgamma