minor changes for fragment