fixed selectionand sync bugs on sites