problem with selec/deselect resources fixed