fixes a possible bug in back contents